package com.blacktry.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blacktry.entity.model.Admin;
import com.blacktry.entity.model.TrainingProgram;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blacktry.entity.model.Vo.TrainingProgramOneVO;
import com.blacktry.entity.model.Vo.TrainingProgramVO;
import com.blacktry.entity.model.request.TrainingProgramRequest;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author blackTry
 * @since 2021-12-12
 */
public interface TrainingProgramService extends IService<TrainingProgram> {

    Map<Integer, List<TrainingProgramOneVO>> findTrainByGrade(TrainingProgramRequest trainingProgramRequest, Page<TrainingProgramVO> trainingProgramPage);

    List<Integer> selectGrade();
}
